package com.fast.linkbeanadmin.constants;

import com.baomidou.mybatisplus.core.toolkit.StringPool;

/**
 * @author ruan cai yuan
 * @version 1.0
 * @fileName com.fast.linkbeanadmin.constants.SysConstants
 * @description: 系统公用常量
 * @since 2024/7/21 下午4:01
 */
public class SysConstants {
    /**
     * 默认当前是第几页
     */
    public static final Long DEFAULT_PAGE_NOW = 1L;
    /**
     * 默认每页大小
     */
    public static final Long DEFAULT_PAGE_SIZE = 10L;
    public static final String DOT = StringPool.DOT;
    public static final String SLASH = StringPool.SLASH;
    public static final String COMMA = StringPool.COMMA;
    /**
     * 上传文件所在的目录前缀
     */
    public static final String RESOURCES_FPREFIX = "resources/";
    /**
     * 文件分天管理
     */
    public static final String UPLOAD_FDATE_FORMAT = "yyyyMMdd/";
    /**
     * 顶层权限的parent_id
     */
    public static final Long TOP_PARENT_ID = -1L;
}
